import request from '@/utils/request'

export function getLoginInfo(params) {
  return request({
    url: `/sys-user/getLoginInfo`,
    method: 'get',
    params
  })
}

// 退出登录
export function loginOut(params) {
  return request({
    url: `/sys-user/loginOut`,
    method: 'get',
    params
  })
}

// 创建者下拉
export function userList(params) {
  return request({
    url: `/listening-log/userList`,
    method: 'post',
    data: params
  })
}

// 监控日志-列表
export function operationLogPageList(params) {
  return request({
    url: `/listening-log/operationLogPageList`,
    method: 'post',
    data: params
  })
}

// 出院医嘱统计-列表
export function leaveAdvicePage(params) {
  return request({
    url: `this-ii-prepayin/leaveAdvicePage`,
    method: 'post',
    data: params
  })
}

// 出院医嘱统计-列表
export function preoperation(params) {
  return request({
    url: `this-ii-prepayin/preoperation`,
    method: 'post',
    data: params
  })
}

